<?php

namespace App\Models\base\traits;

use App\Models\nursery\Major;

trait HasMajor
{
    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function major()
    {
        return $this->belongsTo(Major::class);
    }


}
